package cn.com.bsoft.cloud.entity.cloud;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.List;

/**
 * 预约详情记录
 */
public class AppointMessSec {
    private String appointId;//预约id
    private String siteCode;//配送点编码
    private String siteName;//配送点名称
    private String siteAddress;//配送点地址
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Timestamp appointDate;//开单日期
    private String hospitalCode;//医院编码
    private String hospitalName;//医院名称
    private String departmentCode;//科室代码
    private String departmentName;//科室名称
    private String patientName;//患者姓名
    private String identity;//患者身份证号
    private String sex;//患者 性别
    private String appointStartTime;//预约开始时间
    private String appointEndTime;//预约结束时间
    private String appointStatus;//预约状态
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp createTime;//创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp modifyTime;//修改时间

    private List<PrescriptionMessSec> prescriptionMess;//处方信息


    public String getAppointId() {
        return appointId;
    }

    public void setAppointId(String appointId) {
        this.appointId = appointId;
    }

    public Timestamp getAppointDate() {
        return appointDate;
    }

    public void setAppointDate(Timestamp appointDate) {
        this.appointDate = appointDate;
    }

    public String getHospitalCode() {
        return hospitalCode;
    }

    public void setHospitalCode(String hospitalCode) {
        this.hospitalCode = hospitalCode;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAppointStartTime() {
        return appointStartTime;
    }

    public void setAppointStartTime(String appointStartTime) {
        this.appointStartTime = appointStartTime;
    }

    public String getAppointEndTime() {
        return appointEndTime;
    }

    public void setAppointEndTime(String appointEndTime) {
        this.appointEndTime = appointEndTime;
    }

    public String getAppointStatus() {
        return appointStatus;
    }

    public void setAppointStatus(String appointStatus) {
        this.appointStatus = appointStatus;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Timestamp modifyTime) {
        this.modifyTime = modifyTime;
    }

    public List<PrescriptionMessSec> getPrescriptionMess() {
        return prescriptionMess;
    }

    public void setPrescriptionMess(List<PrescriptionMessSec> prescriptionMess) {
        this.prescriptionMess = prescriptionMess;
    }

    public String getSiteCode() {
        return siteCode;
    }

    public void setSiteCode(String siteCode) {
        this.siteCode = siteCode;
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    public String getSiteAddress() {
        return siteAddress;
    }

    public void setSiteAddress(String siteAddress) {
        this.siteAddress = siteAddress;
    }

    @Override
    public String toString() {
        return "AppointMessSec{" +
                "appointId='" + appointId + '\'' +
                ", siteCode='" + siteCode + '\'' +
                ", siteName='" + siteName + '\'' +
                ", siteAddress='" + siteAddress + '\'' +
                ", appointDate=" + appointDate +
                ", hospitalCode='" + hospitalCode + '\'' +
                ", hospitalName='" + hospitalName + '\'' +
                ", departmentCode='" + departmentCode + '\'' +
                ", departmentName='" + departmentName + '\'' +
                ", patientName='" + patientName + '\'' +
                ", identity='" + identity + '\'' +
                ", sex='" + sex + '\'' +
                ", appointStartTime='" + appointStartTime + '\'' +
                ", appointEndTime='" + appointEndTime + '\'' +
                ", appointStatus='" + appointStatus + '\'' +
                ", createTime=" + createTime +
                ", modifyTime=" + modifyTime +
                ", prescriptionMess=" + prescriptionMess +
                '}';
    }
}
